﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////

// Reviewed
#pragma once

#include "GcmpModelInterface.h"
#include "IEventArgs.h"
#include "Matrix4d.h"

namespace gcmp
{
    /// \brief 罗盘移动和旋转事件参数接口类
    class GCMP_MODEL_INTERFACE_EXPORT IElementLocatorMoveAndRotateEventArgs : public IEventArgs
    {
        DEFINE_CAST_DERIVED(gcmp::IElementLocatorMoveAndRotateEventArgs, gcmp::IEventArgs);
    public:
        /// \brief 得到所有选中对象ElementId
        /// \return 所有选中对象ElementId
        virtual const std::set<ElementId>& GetSelectedElementIds() const = 0;

        /// \brief 得到转换矩阵
        /// \return 转换矩阵
        virtual const Matrix4d GetTranslateMatrix() const = 0;
    };
}

